ORG 100H

MOV CX, 5
MOV BX, 6
CMP CX, BX
PUSHF
JG LAB2

LEA DX, LESS
MOV AH, 09H
INT 21H
LEA DX, NEWLINE
MOV AH, 09H
INT 21H

LAB1:

INC CX
INC CX
CMP CX, BX
JG LAB3

LEA DX, LESS
MOV AH, 09H
INT 21H
LEA DX, NEWLINE
MOV AH, 09H
INT 21H

LAB4:

CMP CX, BX
POPF
JG LAB5

LEA DX, LESS
MOV AH, 09H
INT 21H
LEA DX, NEWLINE
MOV AH, 09H
INT 21H

LAB6:

INT 20H
LAB2:
LEA DX, GREATER
MOV AH, 09H
INT 21H
LEA DX, NEWLINE
MOV AH, 09H
INT 21H
JMP LAB1

LAB3:
LEA DX, GREATER
MOV AH, 09H
INT 21H
LEA DX, NEWLINE
MOV AH, 09H
INT 21H
JMP LAB4

LAB5:
LEA DX, GREATER
MOV AH, 09H
INT 21H
LEA DX, NEWLINE
MOV AH, 09H
INT 21H
JMP LAB6


GREATER DB 'CX GREATER THAN BX$'
LESS DB 'CX NOT GREATER THAN BX$'
NEWLINE DB 10
DB 13
DB '$'